package com.example.mapper;

import com.example.entity.Project;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface KanbanMapper {
    // 修改方法签名，添加username参数
    List<Project> getProjectsWithStatusAndProgress(String name, String status, String priority, String username);
    Project getProjectById(Integer projectId);
    void insertProject(Project project);
    void updateProject(Project project);
    void deleteProject(Integer projectId);
}